-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
API/TST: make hasnans always return python booleans #23349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API/TST: make hasnans always return python booleans #23349
Conversation
lgtm ping on green |
It's failing for |
831501b
to
aa0fa5a
Compare
Hello @topper-123! Thanks for updating the PR.
|
aa0fa5a
to
031e5f7
Compare
Codecov Report
@@ Coverage Diff @@
## master #23349 +/- ##
=======================================
Coverage 92.22% 92.22%
=======================================
Files 169 169
Lines 51261 51261
=======================================
Hits 47277 47277
Misses 3984 3984
Continue to review full report at Codecov.
|
All green now. |
…xamples * repo_org/master: DOC: Validate that See Also section items do not contain the pandas. prefix (pandas-dev#23145) API/TST: make hasnans always return python booleans (pandas-dev#23349)
git diff upstream/master -u -- "*.py" | flake8 --diff
Index.hasnans
currently returns either a python or a numpy boolean, depending on circumstances. This PR ensures that only python booleans ae returned and makes the tests for hasnans stricter.